package com.wicket.okrpbff.biz.service.dto.common;

import com.wicket.okrpbff.common.dto.PagedDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffHostTypeBizScnDto
 * @使用场景
 */
@Data
public class BffHostTypeBizScnDto extends PagedDto implements Serializable {

    /**
     * 推荐宿主类型记录ID
     */
    @ApiModelProperty("推荐宿主类型记录ID")
    private String recommendHostTypeRecordId;

    /**
     * 业务场景ID
     */
    @ApiModelProperty("业务场景ID")
    private String bizSceneId;

    /**
     * 业务场景名称
     */
    @ApiModelProperty("业务场景名称")
    private String bizSceneName;

    /**
     * 业务应用ID
     */
    @ApiModelProperty("业务应用ID")
    private String bizAppId;

    /**
     * 业务应用名称
     */
    @ApiModelProperty("业务应用名称")
    private String bizAppName;

    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;

    /**
     * 是否存档 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否存档")
    private String isArchive;
/**
     * 业务场景标识 
     */
    @ApiModelProperty("业务场景标识")
    private String	 bizSceneCode;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffHostTypeBizScnDto that = (BffHostTypeBizScnDto) o;
      return  recommendHostTypeRecordId == that.recommendHostTypeRecordId&&bizSceneId == that.bizSceneId&&bizSceneName == that.bizSceneName&&bizAppId == that.bizAppId&&bizAppName == that.bizAppName&&subjectLifeCycle == that.subjectLifeCycle&&isArchive == that.isArchive&&bizSceneCode == that.bizSceneCode;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), recommendHostTypeRecordId,bizSceneId,bizSceneName,bizAppId,bizAppName,subjectLifeCycle,isArchive,bizSceneCode);
    }



}
   